package model

import "gorm.io/gorm"

type Topic struct {
	gorm.Model
	UserId  int    `gorm:"int(11);not null;comment:用户id"`
	Title   string `gorm:"varchar(30);not null;comment:主题"`
	Content string `gorm:"varchar(50);not null;comment:内容"`
}
